
		<ol class="breadcrumb">
		  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{lang('dashboard')}}</a></li>
		  <li><a href="/Wants/mine">{{lang('Want')}}</a></li>
		  <li class="active">{{lang('new_Want')}}</li>
		</ol>           
       <hr>

{{$this->Form->create('Want',array('class'=>'form-horizontal','role'=>'form'))}}
	<div class="form-group">
		<label class="col-sm-2 control-label" for="WantName">{{lang('Want_name')}}</label>
		<div class="col-sm-9 controls">
			{{$this->Form->hidden('id')}}
			{{$this->Form->input('name',array('class'=>'form-control','div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="WantCateId">{{lang('Want_cate_id')}}</label>
		<div class="col-sm-9 controls select">
			{{$this->Form->input('cate_id',array('class'=>'form-control','div'=>false,'label'=>false))}}
		</div>
	</div>
	
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="WantMsgType">{{lang('Want_price')}}</label>
		<div class="col-sm-9 controls select">
			Min:{{$this->Form->input('price',array('class'=>'form-control','div'=>false,'label'=>false,'style'=>'width:120px;display:inline-block;'))}} &nbsp;&nbsp;&nbsp;~&nbsp;&nbsp;&nbsp;
			Max:{{$this->Form->input('max_price',array('class'=>'form-control','div'=>false,'label'=>false,'style'=>'width:120px;display:inline-block;'))}}
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label" for="WantEndDate">{{lang('end_date')}}</label>
		<div class="col-sm-9 controls select">
			{{$this->Form->input('end_date',array('class'=>'form-control datepicker','type'=>'text','div'=>false,'label'=>false,'style'=>'width:120px;display:inline-block;'))}}
			&nbsp;&nbsp;<span>{{lang('format as YYYY-MM-DD')}}</span>
		</div>
	</div>
	
	<div class="form-group" id="divWantSummary">
		<label class="col-sm-2 control-label" for="WantSummary">{{lang('summary')}}</label>
		<div class="col-sm-9 controls">
			{{$this->Form->input('summary',array('class'=>'form-control','div'=>false,'label'=>false,'rows'=>'3','after'=>'<p></p>'))}}
		</div>
	</div>

	{{template orders/order_consignee}}
	
	<div class="form-group">
		<label class="col-sm-2 control-label"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
{{$this->Form->end()}}